package com.crm.dao.mapper.customMapper.trainingCustomManager;

import com.crm.model.qo.trainingManager.TrainingContactListQO;
import com.crm.model.vo.trainingManager.TrainingContractDetailVO;
import com.crm.model.vo.trainingManager.TrainingContractVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yincuimei
 * @Date 2021/9/16 9:47
 */
public interface TrainingContractCustomMapper {

    /**
     * (用户模块)内训管理--内训合同列表
     * @param trainingContactListQO --查询条件
     * @param sortOrder             --排序
     * @author yincuimei
     * @return
     */
    List<TrainingContractVO> selectTrainingContractVOList(@Param("trainingContactListQO")TrainingContactListQO trainingContactListQO,@Param("sortOrder") String sortOrder);

    /**
     * (用户模块)内训管理-》内训合同列表-》合同详情-》合同信息
     * @param trainingContractId --内训合同ID
     * @author yincuimei
     * @return
     */
    TrainingContractDetailVO selectTrainingContractDetailVO(@Param("trainingContractId")String trainingContractId);

    /**
     * 内训线索池列表(管理)/内训线索(用户)内训详情--合同订单列表
     * @param trainingId --内训ID
     * @return
     */
    List<TrainingContractVO>  selectTrainingContractListByTrainingId(@Param("trainingId")String trainingId,@Param("sortOrder") String sortOrder);
}
